runtime.timer.status (field)
43 uses
runtime (current package)
time.go#L39: status atomic.Uint32
time.go#L267: if t.status.Load() != timerNoStatus {
time.go#L270: t.status.Store(timerWaiting)
time.go#L316: switch s := t.status.Load(); s {
time.go#L321: if t.status.CompareAndSwap(s, timerModifying) {
time.go#L326: if !t.status.CompareAndSwap(timerModifying, timerDeleted) {
time.go#L340: if t.status.CompareAndSwap(s, timerModifying) {
time.go#L344: if !t.status.CompareAndSwap(timerModifying, timerDeleted) {
time.go#L453: switch status = t.status.Load(); status {
time.go#L458: if t.status.CompareAndSwap(status, timerModifying) {
time.go#L470: if t.status.CompareAndSwap(status, timerModifying) {
time.go#L480: if t.status.CompareAndSwap(status, timerModifying) {
time.go#L510: if !t.status.CompareAndSwap(timerModifying, timerWaiting) {
time.go#L535: if !t.status.CompareAndSwap(timerModifying, newStatus) {
time.go#L581: switch s := t.status.Load(); s {
time.go#L583: if !t.status.CompareAndSwap(s, timerRemoving) {
time.go#L587: if !t.status.CompareAndSwap(timerRemoving, timerRemoved) {
time.go#L592: if !t.status.CompareAndSwap(s, timerMoving) {
time.go#L600: if !t.status.CompareAndSwap(timerMoving, timerWaiting) {
time.go#L618: switch s := t.status.Load(); s {
time.go#L620: if !t.status.CompareAndSwap(s, timerMoving) {
time.go#L625: if !t.status.CompareAndSwap(timerMoving, timerWaiting) {
time.go#L630: if !t.status.CompareAndSwap(s, timerMoving) {
time.go#L636: if !t.status.CompareAndSwap(timerMoving, timerWaiting) {
time.go#L641: if !t.status.CompareAndSwap(s, timerRemoved) {
time.go#L692: switch s := t.status.Load(); s {
time.go#L694: if t.status.CompareAndSwap(s, timerRemoving) {
time.go#L696: if !t.status.CompareAndSwap(timerRemoving, timerRemoved) {
time.go#L705: if t.status.CompareAndSwap(s, timerMoving) {
time.go#L745: if !t.status.CompareAndSwap(timerMoving, timerWaiting) {
time.go#L780: switch s := t.status.Load(); s {
time.go#L787: if !t.status.CompareAndSwap(s, timerRunning) {
time.go#L796: if !t.status.CompareAndSwap(s, timerRemoving) {
time.go#L800: if !t.status.CompareAndSwap(timerRemoving, timerRemoved) {
time.go#L809: if !t.status.CompareAndSwap(s, timerMoving) {
time.go#L815: if !t.status.CompareAndSwap(timerMoving, timerWaiting) {
time.go#L862: if !t.status.CompareAndSwap(timerRunning, timerWaiting) {
time.go#L869: if !t.status.CompareAndSwap(timerRunning, timerNoStatus) {
time.go#L916: switch s := t.status.Load(); s {
time.go#L925: if t.status.CompareAndSwap(s, timerMoving) {
time.go#L931: if !t.status.CompareAndSwap(timerMoving, timerWaiting) {
time.go#L937: if t.status.CompareAndSwap(s, timerRemoving) {
time.go#L940: if !t.status.CompareAndSwap(timerRemoving, timerRemoved) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |